//
//  DemoCell2.m
//  RollingNotice
//
//  Created by qm on 2017/12/13.
//  Copyright © 2017年 qm. All rights reserved.
//

#import "DemoCell2.h"
#import "Library.h"

@interface DemoCell2 ()

@property (nonatomic, strong) UIButton *testBtn;



@end

@implementation DemoCell2
#define COLOR_LABEL @"333333"
#define FONT_SCROLLNEWS 14

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self) {
        [self setupUI];
    }
    return self;
}

- (void)layoutSubviews {
    
    self.customLab.frame = self.bounds;
    [super layoutSubviews];
}

// cell 高度30
- (void)setupUI
{
    _customLab = [[UILabel alloc]init];
    _customLab.textColor =  [UIColor colorWithHexString:COLOR_LABEL];
    _customLab.font = [UIFont systemFontOfSize:FONT_SCROLLNEWS];

    [self.contentView addSubview:_customLab];
}

@end
